<html>
<head>
<script type="text/javascript" src="js/jquery.1.4.2-min.js">
</head>
<body>
<?PHP
    $id = $_GET["id"];
    $conn=mysql_connect('127.0.0.1','svip','svip123');
    mysql_query("set names utf8");
    mysql_select_db('svip',$conn);
    $sql = "select goodsDesc from wst_goods where id = ".$id;
    $rs = mysql_query($sql);
    $row = mysql_fetch_assoc($rs);
    $contents = $row["goodsDesc"];
    echo '<div>';
    echo $contents;
    echo '</div>';
?>
<script language="javascript">
function ResizeImages(){  
    var myimg,oldwidth;
    var maxwidth=260.0; //缩放系数
    for(i=0;i <document.images.length; i++){
        myimg = document.images[i];
        if(myimg.id != "daochuyou")myimg.style.width="100%";
    }
}
ResizeImages();
</script>
</body>
</html>